package br.server.remoteobjects;

import java.io.Serializable;

import br.common.remoteobjects.ObjExpressao;

public class Expressao implements ObjExpressao,Serializable {

	private String expressao;
	private int result;
	
	public Expressao(String expressao, int result) {
		super();
		this.expressao = expressao;
		this.result = result;
	}

	@Override
	public String getExpressao() {
		return "a+c";
	}

	@Override
	public int getResult() {
		return result;
	}

	public void setExpressao(String expressao) {
		this.expressao = expressao;
	}

	public void setResult(int result) {
		this.result = result;
	}
	
	

}
